package nickthissen.iracing.adapters;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;

import nickthissen.iracing.datamodels.ThreadList;
import nickthissen.iracing.fragments.ThreadListFragment;

/**
 * Created by nthissen on 17/05/13.
 */
public class ThreadListPagerAdapter extends PagerAdapter<ThreadList>
{
    public ThreadListPagerAdapter(FragmentManager manager, int pages)
    {
        super(manager, pages);
    }

    @Override
    protected ThreadListFragment createFragment()
    {
        return new ThreadListFragment();
    }
}
